home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / blox.swf / scripts / DefineButton2_599 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-06-13  |  446 b   |  23 lines

  1. on(release){
  2.    _root.SoundPushButton.start();
  3.    getURL(_root.LinkBuyMe,"_blank");
  4.    if(_root.BuyMeWindowMode == 2)
  5.    {
  6.       fscommand("quit");
  7.       fscommand("close");
  8.    }
  9.    else if(_root.BuyMeWindowMode == 3)
  10.    {
  11.       _root.ShowSelectLevelWindow();
  12.    }
  13.    else if(_root.BuyMeWindowMode == 4)
  14.    {
  15.       _root.MainMenuMusic.stop();
  16.       _root.ShowPlayArea();
  17.    }
  18.    else
  19.    {
  20.       _root.ShowMainMenu();
  21.    }
  22. }
  23.